package com.demo01;

public class TestThread1 extends Thread{
  @Override
    public void run() {
      //run 方法线程体
      for(int i = 1;i < 20;i++){
          System.out.println("我在看代码------" + i);

      }
  }
  public static void main(String[] args) {
      TestThread1 t1 = new TestThread1();
      t1.start();

      for(int i = 1;i < 20;i++){
          System.out.println("我在学习多线程------"+ i);
      }
  }

}
